/**
 * Copyright(c) 2010 Ceno Techonologies Co., Ltd.
 *
 * History:
 *   14-6-30 下午4:47 Created by yfyang
 */
package com.jade.store.wechat.biz.auth;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
 * 网页授权Token
 *
 * @author <a href="mailto:yfyang@weixin.com">ya.jin</a>
 * @version 1.0 14-6-30 下午4:47
 */
public class AccessToken implements Serializable
{
    //网页授权接口调用凭证,注意：此access_token与基础支持的access_token不同
    @JsonProperty ("access_token")
    private String accessToken;
    //access_token接口调用凭证超时时间，单位（秒）
    @JsonProperty ("expires_in")
    private int expiresIn;

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public int getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(int expiresIn) {
        this.expiresIn = expiresIn;
    }
}
